import Vue from 'vue'
import VueRouter from 'vue-router'
import HomeView from '../views/HomeView.vue'
import abc from '../views/abc.vue'
import text from '../views/text.vue'
import beijing from "@/views/beijing.vue";
import chengdu from "@/views/chengdu.vue";
import chongqing from "@/views/chongqing.vue";
import xian from "@/views/xian.vue";
import taiyuan from "@/views/taiyuan.vue";
import tianjin from "@/views/tianjin.vue";
import shanghai from "@/views/shanghai.vue";
import bj from "@/views/bj.vue";
import ty from "@/views/ty.vue";
import sh from "@/views/sh.vue";
import cd from "@/views/cd.vue";
import cq from "@/views/cq.vue";
import tj from "@/views/tj.vue";
import xa from "@/views/xa.vue";
import form from "@/views/form.vue";

Vue.use(VueRouter)

const routes = [
  {
    path: '/taiyuan',
    name: 'home',
    component: taiyuan
  },
  {
    path: '/tianjin',
    name: 'home',
    component: tianjin
  },
  {
    path: '/xian',
    name: 'home',
    component: xian
  },
  {
    path: '/chengdu',
    name: 'home',
    component: chengdu
  },
  {
    path: '/shanghai',
    name: 'home',
    component: shanghai
  },
  {
    path: '/chongqing',
    name: 'home',
    component: chongqing
  },
  {
    path: '/beijing',
    name: 'home',
    component: beijing
  },
  {
    path: '/form',
    name: 'home',
    component: form
  },
  {
    path: '/bj',
    name: 'home',
    component: bj
  },
  {
    path: '/ty',
    name: 'home',
    component: ty
  },
  {
    path: '/sh',
    name: 'home',
    component: sh
  },
  {
    path: '/cd',
    name: 'home',
    component: cd
  },
  {
    path: '/cq',
    name: 'home',
    component: cq
  },
  {
    path: '/tj',
    name: 'home',
    component: tj
  },
  {
    path: '/xa',
    name: 'home',
    component: xa
  },


  {
    path: '/abc',
    name: 'abc',
    component: abc
  },
  {
    path: '/text',
    name: 'text',
    component: text
  },
  {
    path: '/about',
    name: 'about',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '../views/AboutView.vue')
  }
]

const router = new VueRouter({
  routes
})

export default router
